package com.ijunfu.spring.lookup._02_lookup_abstract.handler;

import com.ijunfu.spring.lookup._02_lookup_abstract.service.UserService;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.stereotype.Component;

/**
 *
 * @Title  : @Lookup解决抽象类不能为Bean的问题
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/7 18:12
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
@Component
public abstract class AppHandler {

    @Lookup
    abstract UserService genUserService();
}
